package com.xuecheng.framework.domain.course.response;

import com.xuecheng.framework.model.response.ResponseResult;
import com.xuecheng.framework.model.response.ResultCode;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ShengJinFeng
 * @version V1.0
 * @ClassName CoursePublishResult
 * @Description (这里用一句话描述这个类的作用)
 * @date 2020/2/18 16:03
 * @since V1.0
 */
@Data
@NoArgsConstructor
public class CoursePublishResult extends ResponseResult {
    String viewUrl;

    public CoursePublishResult(ResultCode resultCode, String url) {
        super(resultCode);
        this.viewUrl = url;
    }
}
